home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinXP Login Window Type.xpl < prev    next >
Text File  |  2003-12-06  |  2KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="7"
  3. "COUNT"="2"
  4. "UIPATH"="Startup/Shutdown\Startup\Windows NT/2K/XP\31) Inside Login Window"
  5. "NAME"="Welcome Window / Login Window"
  6. "VERSION"="1.05"
  7. "LANGUAGE"="VBScript"
  8. "OSVERSION"="0000010"
  9. "TEXT 1"="Enable "Welcome Window" style (default)"
  10. "TEXT 2"="Enable "Login Window" style (Classic Logon)"
  11. "DESCRIPTION 1"="By default, Windows XP displays the login window in the "Welcome" style. This means, it covers the entire screen and you can click an user picture to select the user which you want to use to logon."
  12. "DESCRIPTION 2"="However, Windows XP supports the "Classic Login" as well. This login window is the good-old Name/Password window you already know from Windows 95 upwards."
  13. "DESCRIPTION 3"="IMPORTANT! If you activate the Classic Logon, you will lose the "Fast User Switching" feature of Windows XP (logon as a different user without the need of a logout)."
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com/"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="Thanks to Monique <monique.de.meester@pandora.be> for this tweak!"
  18.  
  19. sV="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\LogonType" 'DW
  20.  
  21. Sub Plugin_Initialize 
  22.  'String
  23.  i=RegReadValue(sV)
  24.  
  25.  if i=1 then SetUIElement 1,true
  26.  if i=0 then SetUIElement 2,true
  27. End Sub
  28.  
  29. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  30.  if GetUIElement(1)=true then
  31.     vVal=1
  32.  else
  33.     vVal=0
  34.  end if
  35.  
  36.  Call RegWriteValue(sV,vVal,2)
  37.  
  38.  Call Restart()
  39. End Sub
  40.  
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.